<?php

class DefaultController extends Controller {
    public function __construct($id, $module = null) {
        parent::__construct($id, $module);

        //set default active menu
        $this->activeMenu = 'cms';
    }
    public function actionIndex() {
        $this->render('index', array(
            'postTypes' => $this->module->allowPostTypes
        ));
    }

}